<template>
  <div >
    {{studentid}}
  </div>
</template>

<script>

export default {
  name: 'StudentView',
  data() {
    return {
        studentid: '',
    
    }
  },
  created() {
    this.getStudentId();
  },
  methods:{
        getStudentId() {
          const studentid = this.$route.params.id;
            console.log(studentid);
            this.studentId = studentid;
          }
        },
  }

</script>
